Brook Spec V0.2 0.2 Streams

نویسنده

  • Ian Buck
چکیده

Brook introduces a new type-qualifier keyword memstream into the C language spec [A4.4 K&R]. Declaring an object memstream announces that it has special properties relevant to streaming. Declarations memstream objects are declared the same way as any other object with a type-qualifier, such as const or volatile [A8 K&R]. Stream Elements The purpose of declaring memstreams is to express a collection of objects which can be operated on in parallel. The collection of objects is referred to as a stream while each object is a stream element. The memstream type determines the stream element type as well as the number of elements contained in the stream. If a memstream declaration is not an array declaration [A8.6.2 K&R], the memstream object contains only a single stream element of the type equal to the memstream object. If the memstream declaration is an array declaration, then the type of the stream element is equal to the base type of the array. The base type is the type of the object after which all of the [constant-expression] specifiers which are directly associated with the variable name have been removed from the declaration statement (as defined by operator precedence). For example, memstream float val; Stream of floats, one element. memstream float a[4][5][9]; Stream of floats, 4*5*9 elements. typedef float mytype[3][2]; memstream mytype c[304]; Stream of float[3][2], 304 elements A few more complex examples, memstream char *daytab [13]; Stream of char *, 13 elements memstream char (*daytab)[13]; Stream of pointer to char[13], one element

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Groundtruthing and potential for predicting acid deposition impacts in headwater streams using bedrock geology, GIS, angling, and stream chemistry.

Atmospheric acid deposition is of environmental concern worldwide, and the determination of impacts in remote areas can be problematic. Rainwater in central Pennsylvania, USA, has a mean pH of approximately 4.4. Bedrock varies dramatically in its ability to neutralize acidity. A GIS database simplified reconnaissance of non-carbonate bedrock streams in the Valley and Ridge Province and identifi...

متن کامل

Wild Trout Symposium XI—Looking Back and Moving Forward (2014) Session 4: Brook Trout—127 RAINBOW TROUT VERSUS BROOK TROUT BIOMASS AND PRODUCTION UNDER VARIED CLIMATE REGIMES IN SMALL SOUTHERN APPALACHIAN STREAMS

Many Appalachian streams historically dominated by Brook Trout Salvelinus fontinalis have experienced shifts towards fish communities dominated by Rainbow Trout Onchorhynchus mykiss. We used empirical estimates of biomass and secondary production of trout conspecifics to evaluate species success under varied thermal regimes. Trout populations were sampled in 13 Appalachian streams from Maryland...

متن کامل

A negative expiratory pressure test during wakefulness for evaluating the risk of obstructive sleep apnea in patients referred for sleep studies

OBJECTIVE Obstructive sleep apnea is characterized by increased upper airway collapsibility during sleep. The present study investigated the use of the negative expiratory pressure test as a method to rule out obstructive sleep apnea. METHODS Flow limitation was evaluated in 155 subjects. All subjects underwent a diurnal negative expiratory pressure test and a nocturnal sleep study. The sever...

متن کامل

Niche characteristics explain the reciprocal invasion success of stream salmonids in different continents.

An ability to understand and predict invasions is elemental for controlling the detrimental effects of introduced organisms on native biota. In eastern North America, European brown trout generally dominates over, and eventually replaces, the native brook trout. We show here that in northern Europe the pattern of replacement between these two species is reversed: when transferred to North Europ...

متن کامل

Mechanisms Limiting a Vertebrate Invasion: Brook Trout in Mountain Streams

I used multiple approaches to study brook trout invasions in mountainous streams of Idaho and Montana, USA. After studying marked fish in experimental reaches and fish distributions throughout a drainage, I concluded that larger brook trout (95mm) moved more than smaller ones and were probably responsible for most dispersal leading to invasion. Contrary to earlier hypotheses, poor swimming abil...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003